#define _CRT_SECURE_NO_WARNINGS 1
#include"list.h"

int main()
{
	ListNode* p = LTinit();
	LTpushback(p, 1);
	LTpushback(p, 2);
	LTpushback(p, 3);
	LTpushback(p, 4);
	LTpopback(p);
	LTpushfront(p, 30);
	LTpopfront(p);
	LTInsert(p, LTfind(p, 2), 30);
	LTErase(p, LTfind(p, 3));
	LTprint(p);
}
